# # # python 打印9*9乘法表

#计数器
a = 1
while a < 10:     #a=1,a=2
    for i in range(1,a+1):    #range(1,2) i=1,#range(2,2)
        print(f'{i}x{a}={i*a}',end='\t')
    print() #每次for循环后换行
    a += 1  # a = a + 1